#include "tooltipsdialog.h"
#include "ui_tooltipsdialog.h"

ToolTipsDialog::ToolTipsDialog(QWidget *parent) :
    QDialog(parent),
    ui(new Ui::ToolTipsDialog)
{
    ui->setupUi(this);
    setFixedSize(this->size());
    ui->pushButton->setToolTip(
                "<h2><b><font color='red'>MyList</font></b></h2>"
                "<ol>"
                    "<li>First</li>"
                    "<li>Second</li>"
                    "<li>Third</li>"
                "</ol>"
                );
    ui->pushButton_2->setToolTip("<img src=':files/images/world_Icon.png'/>");
}

ToolTipsDialog::~ToolTipsDialog()
{
    delete ui;
}
